/*
 * @Author: lsmi
 * @Date: 2021-08-17 20:39:00
 * @LastEditors: lsmi
 * @LastEditTime: 2021-08-19 20:31:04
 * @FilePath: \v2_play_js\src\plugins\v-charts.js
 */
import Vue from "vue";
import { use } from "echarts/core";
import { CanvasRenderer } from "echarts/renderers";
import { PieChart } from "echarts/charts";
import {
  TitleComponent,
  TooltipComponent,
  LegendComponent,
} from "echarts/components";
import VChart, { THEME_KEY } from "vue-echarts";
use([
  CanvasRenderer,
  PieChart,
  TitleComponent,
  TooltipComponent,
  LegendComponent,
]);

Vue.component("v-chart", VChart);
